#!/bin/sh

. $LKP_SRC/lib/tbox.sh
set_tbox_group $HOSTNAME

[ -d $TMP ] || mkdir -p $TMP

cat - $LKP_SRC/hosts/${tbox_group} > $TMP/env.yaml <<EOF
# setup/env
nr_cpu: $(getconf _NPROCESSORS_CONF)
nr_node: $(echo /sys/devices/system/node/node[0-9]* | wc -w)

# hosts/${tbox_group}
EOF
